package Chapter06.Homework;

public class Engine {
    int displacement;//排
    int kg;
    String brand;//品牌
    int horsepower;//马力
    public void show(){
        System.out.println("发动机"+brand+",排量"+displacement+",重量"+kg+"kg,马力"+horsepower+"码");
    }
}
